package cn.zyq.ykb.beans.product;

import cn.zyq.ykb.system.common.BaseBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 商品链接对象 productLink
 *
 * @author SystemAuth
 * @date 2023-11-02
 */
@Data
@Entity
@Table(name = "`productLink`")
public class ProductLink  extends BaseBean implements Serializable {
    /**
     * 主键id，用于关联
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY, generator = "JDBC")
    @Column(name = "`productLinkID`")
    @ApiModelProperty("主键id，用于关联")
    private Integer productLinkID;
    /**
     * 链接
     */
    @Column(name = "`link`")
    @ApiModelProperty("链接")
    private String link;
    /**
     * 商品ID
     */
    @Column(name = "`productID`")
    @ApiModelProperty("商品ID")
    private Integer productID;
    /**
     * 文件链接
     */
    @Column(name = "`fileLink`")
    @ApiModelProperty("文件链接")
    private String fileLink;

}
